package com.book.travel.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.sql.Date;

@Data
@Accessors(chain = true)
@TableName("traveller_communication")
public class Communication {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("code")
    private String code;

    @TableField("message")
    private String message;

    @TableField("image")
    private String image;

    @TableField(value = "creatTime",fill = FieldFill.INSERT)
    private Date creatTime;

    @TableField("love")
    private Integer love;

    @TableField("collection")
    private Integer collection;

    @TableField("repost")
    private String repost;

    @TableField("comments")
    private Integer comments;
}
